<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="../../res/jquery.min.js"></script>
    <script src="../../src/bs.base.js"></script>
    <script src="../../src/bs.utils.js"></script>
    <script src="../../src/bs.date.js"></script>
    <script src="../../src/bs.using.js"></script>
</head>
<body>
    <input id="d1" value="7/20/96" />或2014-05-08 <button onclick="my.fn.pdate()">转换</button>
    <span id="t1"></span>
    <script>
        var my ={
            fn:{}
        };
        my.fn.pdate = function(){
           var _d1 = bs.date.parse($('#d1').val());
            bs.log(_d1);
           $('#t1').html(_d1.toString());
        };
        $(document).ready(function(){

        });
    </script>
</body>
</html>